package cc.comac.mom.api;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import cc.comac.mom.bean.AsrSearchBean;
import cc.comac.mom.util.ResultBean;

@FeignClient("mom-qar-srv")
public interface AsrSearchService {
	
	@RequestMapping(value = "/p/cs/QualityAsrSearchService/selectBySomeFeilds",method = RequestMethod.POST)
	public ResultBean selectBySomeFeilds(@RequestBody AsrSearchBean asrSearch);
	
	@RequestMapping(value = "/p/cs/QualityAsrSearchService/exportData", method = RequestMethod.POST)
	public String exportData(@RequestParam(value = "request") HttpServletRequest request, @RequestParam(value ="response" ) HttpServletResponse response, @RequestBody AsrSearchBean obj);
}
